package com.xhai.common.domain.login;

import com.xhai.common.domain.vo.UserInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xhai
 * @description 登录成功返回的信息
 * @date 2025/6/27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "登录成功返回的信息")
public class LoginSucInfo {
    /**
     * 用户信息
     */
    @Schema(description = "用户信息")
    private UserInfo user;

    /**
     * token
     */
    @Schema(description = "token")
    private String token;
}
